{% extends "registration/base.html" %}

{% block title %}
{{block.super}} - Login
{% endblock %}

{% block content %}
<div class="message">
<h3>
Login!
</h3>
</div>
{% if form.has_errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="post" action=".">
<p><label for="id_username">Username:</label></td><td>{{ form.username }}</p>
<p><label for="id_password">Password:</label></td><td>{{ form.password }}</p>
<input type="submit" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
{% endblock %}

{% block sidebar %}
{% endblock %}
